package com.frozenc.mapper;

import com.frozenc.domain.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by FrozenC on 2016/9/19.
 */
@Mapper
public interface CommentsMapper {

    List<Comment> selectCommentsInNews(Integer newsId);

    int addComments(Integer newsId,Integer userId,String comment);
}
